﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Common
{
    public static class EnumDeviceState
    {
        public enum Device_State : int
        {
            //未知状态
            unknow = 0,
            //正常
            normal = 1,
            //异常
            error = 2
        }
        public enum Device_Command_Log : int
        {
            doing=1,
            callBackSuccess =2,
            callBackError = 3,
            sendError=4
        }
        //public enum Fan_Live_State : int
        //{
        //    doing = 0,
        //    open = 1,
        //    close = 2,
        //    error = 3,
        //}
        public enum Gpio_Live_State : int
        { //未知状态
            unknow = 0,
            open = 100,
            close = 101,
            error = 2,
            check_state = 3
        }
        //public enum Jidianqi_Live_State : int
        //{
        //    open = 1,
        //    close = 2,
        //    error = 3,
        //    check_state=4
        //}
        /// <summary>
        /// sht30温湿0正常，1异常
        /// </summary>
        //public enum Device_sht30 : int
        //{
        //    normal = 0,
        //    error = 1
        //}
        public enum Device_Display : int
        {
            /// <summary>
            /// 正常
            /// </summary>
            normal = 0,
            /// <summary>
            /// 错误
            /// </summary>
            error = 1
        }
        //public enum Fan_Start_Min : int
        //{
        //    cputemperature = 45,
        //}
        /// <summary>
        /// 设备状态错误
        /// </summary>
        //public enum DeviceError
        //{
        //    no_data = 101,
        //    state_error = 100
        //}


    }
}
